package com.juyu.miliao.api.domain;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 问答购买信息
 *
 * @author xuanqicheng
 * @create 2018-19-1:10 PM
 */
@Data
public class QuestionAndAnswerPayInfo {

    private Long id;

    private Long questionId;

    /**
     * 购买人id
     */
    private Long purchaser;

    /**
     * 受益类型：1：个人，2：平台
     */
    private Integer benefitType;
    /**
     * 价格，单位金币
     */
    private Integer price;

    /**
     * 受益人id
     */
    private Long beneficiaryId;

    private LocalDateTime createTime;

    private LocalDate createDate;
}
